Resource Path: /api/credential/keys/generate/{keyType}/{keyLength}
Uri: http://doc.jamsscheduler.com/api/credential/keys/generate/{keyType}/{keyLength}
Description
Generates a new public/private key pair for this Credential.
Parameters
Name | Description | Data Type |
keyType | The type of key to generate. Supported types are DSA and RSA. | string |
keyLength | The length of the key. The length must be supported by the specified key type. DSA supports 512 and 1024 bit keys, RSA supports 512, 1024, 2048 and 4096 bit keys. | integer |
Request
The request body is of type Credential.
Credential model
Overview
|
Credential
|
description : string
|
|
fingerprint : string
|
|
lastChangeUTC : string
|
|
logonUserName : string
|
|
password : string
|
|
privateKey : string
|
|
encryptedPrivateKey : string
|
|
encryptedPassword : string
|
|
publicKey : string
|
|
credentialID : integer
|
|
credentialName : string
|
|
keyFileContent : string
|
|
|
|
identifier : string
|
|
inherited : boolean
|
|
flags : string
|
|
accessList : Array[string]
|
|
|
|
Response
The response body is of type Credential.
OK
Overview
|
Credential
|
description : string
|
|
fingerprint : string
|
|
lastChangeUTC : string
|
|
logonUserName : string
|
|
password : string
|
|
privateKey : string
|
|
encryptedPrivateKey : string
|
|
encryptedPassword : string
|
|
publicKey : string
|
|
credentialID : integer
|
|
credentialName : string
|
|
keyFileContent : string
|
|
|
|
identifier : string
|
|
inherited : boolean
|
|
flags : string
|
|
accessList : Array[string]
|
|
|
|
See Also